#ifndef HEROS_H
#define HEROS_H
#include <iostream>
#include <string>
#include "Personnage.h"

class Heros : public Personnage
{
    public:
        Heros(const std::string &fname, sf::Color couleur, sf::Vector2f pos, int speed,Style style,Katana katana);
        ~Heros();

        void EquipeKatana(Katana katana) { m_KatanaEquipe = katana ;}
        Katana GetKatana() { return m_KatanaEquipe ;}

        void SetStyle(Style style) { m_Style = style ;}
        Style GetStyle() { return m_Style ;}

        Animated GetAnimationEpee() { return m_animKatana ;}
        void UpdateEpee(float ElapsedTime);

        bool AnimEnded() { return m_AnimFinie ;}

        void StopAttaque() { Hitting = 0; }

        void Attaquer();

    private:
    Style m_Style;
    //Inventaire *inventaire;
    Katana m_KatanaEquipe;
    sf::Image m_KatanaImg;
    Anim  m_Style1D,m_Style1G, m_Style1H, m_Style1B,m_Style2, m_Style3, m_Style4;
    Animated m_animKatana;
    bool m_AnimFinie;

};

#endif // HEROS_H
